<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

include("conf.php");
$dbConf = new AAConf();
$databaseURL = $dbConf->get_databaseURL();
$databaseUName = $dbConf->get_databaseUName();
$databasePWord = $dbConf->get_databasePWord();
$databaseName = $dbConf->get_databaseName();

$connection = mysql_connect($databaseURL,$databaseUName,$databasePWord);
// or die ("Error while connecting to localhost");
$datab = mysql_select_db($databaseName,$connection);
//or die ("Error while connecting to database");

?>
